package main

import (
	"github.com/go-kratos/kratos/v2/config"
	"github.com/go-kratos/kratos/v2/config/file"
)

// func newConsulSource(path string, cli *api.Client) (config.Source, error) {
// 	return consulc.New(cli, consulc.WithPath(path))
// }

func newFileSource(path string) (config.Source, error) {
	return file.NewSource(path), nil
}
